Workflow: update ci.yml

This commit is contained in:
osamu-kj 2023-04-08 00:17:36 +02:00
parent 5c3df7976c
commit dde6340863

View File

@ -5,8 +5,10 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: kognise/neocities-deploy-action@v1 - uses: actions/checkout@v1
- uses: bcomnes/deploy-to-neocities@v1
if: ${{ github.ref == 'refs/heads/main' }} if: ${{ github.ref == 'refs/heads/main' }}
with: with:
neocities_token: ${{ secrets.NEOCITIES_API_KEY }} api_token: ${{ secrets.NEOCITIES_API_KEY }}
directory: 'src/' cleanup: true
dist_dir: src