Skip to content

Commit

Permalink
feat: add neocities deploy to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
milg15 committed Sep 20, 2024
1 parent c4a4d4a commit 0110e53
Show file tree
Hide file tree
Showing 14 changed files with 310 additions and 247 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/neocities.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy to neocities
on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- 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
dist_dir: public
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.tabSize": 2,
"editor.linkedEditing": true,
"files.trimTrailingWhitespace": true,
"editor.wordWrap": "on",
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Description
This is where my neocity website code will live, that's all.
This is where my neocity website code will live, that's all.
File renamed without changes
145 changes: 0 additions & 145 deletions index.html

This file was deleted.

43 changes: 0 additions & 43 deletions journal.html

This file was deleted.

18 changes: 0 additions & 18 deletions music/index.html

This file was deleted.

28 changes: 0 additions & 28 deletions music/playlists.html

This file was deleted.

12 changes: 0 additions & 12 deletions not_found.html

This file was deleted.

Loading

0 comments on commit 0110e53

Please sign in to comment.