Build SQPL #29495
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 SQPL | |
on: | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '0 * * * *' | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-20.04 | |
container: | |
image: coatldev/six:latest | |
steps: | |
- name: setup | |
run: | | |
sudo apt update | |
sudo apt-get install software-properties-common -y | |
sudo apt-get update | |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/ppa | |
sudo apt-get update | |
sudo apt-get install libkrb5-dev -y | |
sudo apt-get install -y libstdc++6 | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2-beta | |
with: | |
node-version: '10' | |
- run: | | |
npm install --verbose --python=python2.7 | |
- name: Build | |
run: | | |
npm run build | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: gh-pages | |
publish_dir: ./output | |
keep_files: true |