link to issue template instead of github.dev #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and upload website | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
upload: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v2 | |
- name: Build website | |
run: | | |
pip install beautifulsoup4 tqdm ruamel.yaml | |
mkdir html && mv reddit-fetch html/reddit-fetch | |
python build.py | |
- name: Upload files to FTP server | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.FTP_SERVER }} | |
username: ${{ secrets.FTP_USER }} | |
password: ${{ secrets.FTP_PASSWORD }} | |
local-dir: html/ |