Skip to content

trying fox news

trying fox news #30

Workflow file for this run

name: CI
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build_and_upload:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2.2.1
with:
# Version range or exact version of a Python version to use, using SemVer's version range syntax.
python-version: # optional, default is 3.x
# The target architecture (x86, x64) of the Python interpreter.
architecture: # optional
# Used to pull python distributions from actions/python-versions. Since there's a default, this is typically not supplied by the user.
token: # optional, default is ${{ github.token }}
# this Action should follow steps to set up Python build environment
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v2
- name: Build
run: cd tools && ./build.py
- name: Upload
run: cd tools && ./upload.py ${{secrets.FTP_USERNAME}} ${{secrets.FTP_PASSWORD}}