Skip to content

added Fediring to the webring section and new buttons for future subm… #37

added Fediring to the webring section and new buttons for future subm…

added Fediring to the webring section and new buttons for future subm… #37

Workflow file for this run

name: Deploy to neocities
# run on changes to main branch or when manually triggered
on:
push:
branches:
- main
workflow_dispatch:
env:
FORCE_COLOR: 2
concurrency: # prevent concurrent deploys doing strange things
group: deploy-to-neocities
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- run: bun i --save-dev
- run: bun run build
- name: Archive build artifacts
uses: actions/upload-artifact@v4
with:
name: website-artifacts
path: _site
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: website-artifacts
path: _site
- name: List contents of the working directory
run: ls -al
- name: Deploy to neocities
uses: bcomnes/deploy-to-neocities@v2
with:
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: true
dist_dir: _site