fix link from REMOVE_BLIP to SET_THIS_SCRIPT_CAN_REMOVE_BLIPS_CREATED… #336
  
    
      This file contains hidden or 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: Deploy natives | |
| on: | |
| push: | |
| branches: | |
| - publish | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-24.04 | |
| name: Build & Deploy | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| path: './' | |
| fetch-depth: 2 | |
| - uses: actions/setup-node@v2 | |
| with: | |
| node-version: '12' # while 14+ technically works, it's 25-50x slower at running native-doc-tooling | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.8' # node-gyp compatibility | |
| - name: Install SSH key | |
| uses: shimataro/ssh-key-action@v2 | |
| with: | |
| key: ${{ secrets.NATIVE_DEPLOY_KEY }} | |
| known_hosts: ${{ secrets.NATIVE_DEPLOY_KNOWN_HOSTS }} | |
| - name: Acquire latest compat file | |
| env: | |
| NATIVE_DEPLOY_URL: ${{ secrets.NATIVE_DEPLOY_URL }} | |
| run: | | |
| echo "::add-mask::${{ secrets.NATIVE_REMOTE_URL }}" | |
| mkdir ./in | |
| . ./.ci/config.sh | |
| rsync -e "ssh" -q --ignore-missing-args $NATIVE_DEPLOY_URL/$CONFIG_UPLOAD_COMPAT_FILE.lua ./in/$CONFIG_UPLOAD_COMPAT_FILE.lua | |
| - name: Run build | |
| run: | | |
| echo "::add-mask::${{ secrets.NATIVE_REMOTE_URL }}" | |
| set -xe | |
| bash ./.ci/setup-builder | |
| bash ./.ci/run-deploy | |
| - name: Deploy | |
| env: | |
| NATIVE_DEPLOY_URL: ${{ secrets.NATIVE_DEPLOY_URL }} | |
| run: | | |
| echo "::add-mask::${{ secrets.NATIVE_REMOTE_URL }}" | |
| rsync -e "ssh" -rq --exclude=*compat.lua* ./out/ $NATIVE_DEPLOY_URL | |
| rsync -e "ssh" -rqb --backup-dir=./ --suffix=.bak --include=*compat.lua --exclude=* ./out/ $NATIVE_DEPLOY_URL |