Skip to content

update discord server link #41

update discord server link

update discord server link #41

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Jinja
on:
push:
branches: [ master ]
# pull_request:
# branches: [ master ]
# on: workflow_dispatch
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Execute script
run: |
python main.py
- name: commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -A
git commit -m "update index.html" -a
- name: push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PORTFOLIO_TOKEN }}
branch: master