chore(deps): bump follow-redirects from 1.15.1 to 1.15.6 in /docs (#258) #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
# setup | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- run: npm ci | |
# build resources | |
- run: node ./dev/icon_generator/makeicons | |
- run: node ./dev/resource_packager | |
# build docs | |
- run: npm ci | |
working-directory: docs | |
- run: npm run build | |
working-directory: docs | |
# publish | |
- name: get version | |
id: version | |
uses: martinbeentjes/npm-get-version-action@v1.3.1 | |
- name: publish to itch.io | |
uses: josephbmanley/butler-publish-itchio-action@v1.0.3 | |
env: | |
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }} | |
CHANNEL: win-linux-mac-stable | |
ITCH_GAME: bitsy | |
ITCH_USER: ledoux | |
PACKAGE: editor | |
VERSION: ${{ steps.version.outputs.current-version }} | |
- name: publish to bitsy.org | |
run: node dev/publish editor editor ${{ secrets.FTP_USER }} ${{ secrets.FTP_SERVER }} 22 ${{ secrets.FTP_PASS }} |