system64.dev/.github/workflows/deployment.yml

26 lines
588 B
YAML
Raw Normal View History

2022-04-26 17:28:10 -05:00
name: Deploy to neocities
# only run on changes to master
2022-04-26 17:23:32 -05:00
on:
push:
branches:
- system64.neocities.org
2022-04-26 17:28:10 -05:00
concurrency: # prevent concurrent deploys doing strange things
group: deploy-to-neocities
cancel-in-progress: true
2022-04-26 17:23:32 -05:00
jobs:
2022-04-26 17:28:10 -05:00
deploy:
2022-04-26 17:23:32 -05:00
runs-on: ubuntu-latest
2022-04-27 19:48:05 -05:00
timeout-minutes: 15
2022-04-26 17:23:32 -05:00
steps:
2022-04-26 17:28:10 -05:00
- uses: actions/checkout@v1
# When the dist_dir is ready, deploy it to neocities
- name: Deploy to neocities
uses: bcomnes/deploy-to-neocities@v1
with:
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: false
2022-04-26 19:58:35 -05:00
dist_dir: .