Updated build scripts for docker #20
Workflow file for this run
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: Update documentation plugins | |
# on: | |
# push: | |
# branches: | |
# - "master" | |
# # - "documentation" # Specifically disabled to stop infinite build loop | |
# - "develop" | |
# create: | |
# tags: | |
# - "*" | |
# schedule: | |
# - cron: "0 0/6 1/1 * *" | |
# workflow_dispatch: | |
# branches: [documentation] | |
# jobs: | |
# build_and_update_plugins: | |
# runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# node-version: [20.x] | |
# steps: | |
# - uses: actions/checkout@v4 | |
# with: | |
# fetch-depth: 0 | |
# ref: documentation | |
# - name: Use Node.js ${{ matrix.node-version }} | |
# uses: actions/setup-node@v4 | |
# with: | |
# node-version: ${{ matrix.node-version }} | |
# - name: Plugin def generation | |
# id: plugin_generation | |
# run: node generatePluginData.js | |
# - uses: EndBug/add-and-commit@v9 # You can change this to use a specific version. | |
# if: ${{ steps.plugin_generation.outputs.changes == 'true' }} | |
# with: | |
# add: "plugins.json" | |
# committer_name: GitHub Actions | |
# committer_email: [email protected] | |
# message: "Updated known plugins" | |
# pull: "" | |
# push: true | |
# - run: mkdir _tempCDN | |
# - run: cp ./plugins.json _tempCDN/plugins.json | |
# - name: Update site | |
# if: ${{ steps.plugin_generation.outputs.changes == 'true' }} | |
# uses: cloudflare/[email protected] | |
# with: | |
# apiToken: ${{ secrets.CF_API_TOKEN }} | |
# accountId: ${{ secrets.CF_ACCOUNT_ID }} | |
# command: pages publish _tempCDN --project-name=bsb-cdn --commit-dirty=true --branch=master |