Last active
April 16, 2026 22:40
-
-
Save bipe/a39be329d59bf8a06805690e8d046167 to your computer and use it in GitHub Desktop.
Deploy to neocities simple github action yaml
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: | |
| - main # trigger this action only with commits on the 'main' branch. | |
| concurrency: # prevent concurrent deploys doing starnge things | |
| group: deploy-to-neocities | |
| cancel-in-progress: true | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Deploy to neocities # You can customize this if you want | |
| uses: bcomnes/deploy-to-neocities@master | |
| with: | |
| api_token: ${{ secrets.NEOCITIES_API_TOKEN }} | |
| cleanup: true # true: delete neocities files that doesn't exist on the repo. false: ignore these files | |
| dist_dir: public #the folder in which the site is |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment