-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Liassica
committed
Jan 11, 2024
1 parent
0269676
commit 4c99dde
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docs/* linguist-documentation=false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Author: Bret Comnes | ||
# License: MIT | ||
|
||
name: Deploy to neocities | ||
|
||
# only run on changes to main | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: # prevent concurrent deploys doing strange things | ||
group: deploy-to-neocities | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
# 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_KEY }} | ||
cleanup: true | ||
dist_dir: docs |