Skip to content

No need for skip now deselect works properly #51

No need for skip now deselect works properly

No need for skip now deselect works properly #51

name: deploy_language_referemce
on:
push:
branches:
- master
paths:
- '.github/workflows/deploy_website.yml'
- 'teachprogramming/lib/**'
- 'teachprogramming/static/language_reference/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: compile_and_run_languages
run: (cd teachprogramming/static/language_reference && make build_and_run)
- name: build_static
run: (cd teachprogramming/lib && make build_static)
# - name: scp_static
# uses: appleboy/scp-action@master
# timeout-minutes: 1
# with:
# host: computingteachers.uk
# username: computingteachers
# key: ${{ secrets.DEPLOY_SSH_KEY }}
# source: "teachprogramming/lib/static"
# strip_components: 2
# target: "computingteachers.uk"
# command_timeout: 1m
# overwrite: true
# # scp conenctions in rapid successon fail .. let's cool off.
# - uses: GuillaumeFalourd/wait-sleep-action@v1
# with:
# time: '30s'
# - name: scp_api
# uses: appleboy/scp-action@master
# timeout-minutes: 1
# with:
# host: computingteachers.uk
# username: computingteachers
# key: ${{ secrets.DEPLOY_SSH_KEY }}
# source: "teachprogramming/lib/api/v1"
# strip_components: 3
# target: "computingteachers.uk/api"
# command_timeout: 1m
# overwrite: true