Update mangohabanarohotsauce.txt #40
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: Deploy to neocities | |
# only run on changes to master | |
on: | |
push: | |
branches: | |
- main | |
concurrency: # prevent concurrent deploys doing strange things | |
group: deploy-to-neocities | |
cancel-in-progress: true | |
jobs: | |
example-job: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run build script | |
run: | | |
sudo chmod +x ./gen.sh | |
./gen.sh | |
shell: bash | |
- name: Deploy | |
uses: bcomnes/deploy-to-neocities@v1 | |
with: | |
api_token: ${{ secrets.NEOCITIES_API_TOKEN }} | |
cleanup: true | |
dist_dir: ./generated-website |