Format action step names
This commit is contained in:
parent
fb159bcc30
commit
98e3bf027e
|
@ -1,4 +1,4 @@
|
|||
name: Deploy to neocities
|
||||
name: Deploy to Neocities
|
||||
|
||||
# only run on changes to main. Use main or master depending on whatever your default branch is called.
|
||||
on:
|
||||
|
@ -6,7 +6,7 @@ on:
|
|||
branches:
|
||||
- main
|
||||
|
||||
concurrency: # prevent concurrent deploys doing strange things
|
||||
concurrency: # Prevent concurrent deploys doing strange things
|
||||
group: deploy-to-neocities
|
||||
cancel-in-progress: true
|
||||
|
||||
|
@ -16,22 +16,25 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
# Set up any tools and build steps here
|
||||
- name: Use Node.js
|
||||
- name: Set Up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: lts/*
|
||||
# Set up bun
|
||||
- name: Use Bun
|
||||
node-version: current
|
||||
|
||||
- name: Set Up Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
- name: Install deps and build
|
||||
|
||||
- name: Install dependencies and build
|
||||
run: |
|
||||
bun i
|
||||
bun run build
|
||||
# When the dist_dir is ready, deploy it to neocities
|
||||
- name: Deploy to neocities
|
||||
|
||||
# When the dist_dir is ready, deploy it to Neocities
|
||||
- name: Deploy to Neocities
|
||||
uses: bcomnes/deploy-to-neocities@v2.0.2
|
||||
with:
|
||||
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
|
||||
|
|
Loading…
Reference in New Issue