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.
|
# only run on changes to main. Use main or master depending on whatever your default branch is called.
|
||||||
on:
|
on:
|
||||||
|
@ -6,7 +6,7 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
concurrency: # prevent concurrent deploys doing strange things
|
concurrency: # Prevent concurrent deploys doing strange things
|
||||||
group: deploy-to-neocities
|
group: deploy-to-neocities
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
@ -16,22 +16,25 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
# Set up any tools and build steps here
|
# Set up any tools and build steps here
|
||||||
- name: Use Node.js
|
- name: Set Up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
node-version: current
|
||||||
# Set up bun
|
|
||||||
- name: Use Bun
|
- name: Set Up Bun
|
||||||
uses: oven-sh/setup-bun@v1
|
uses: oven-sh/setup-bun@v1
|
||||||
with:
|
with:
|
||||||
bun-version: latest
|
bun-version: latest
|
||||||
- name: Install deps and build
|
|
||||||
|
- name: Install dependencies and build
|
||||||
run: |
|
run: |
|
||||||
bun i
|
bun i
|
||||||
bun run build
|
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
|
uses: bcomnes/deploy-to-neocities@v2.0.2
|
||||||
with:
|
with:
|
||||||
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
|
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue