Skip to content

Update rml nametags resource (#35) #51

Update rml nametags resource (#35)

Update rml nametags resource (#35) #51

Workflow file for this run

on:
push:
branches:
- master
jobs:
deploy-cdn:
runs-on: ubuntu-20.04
if: "contains(github.event.head_commit.message, 'Bump version')"
steps:
- uses: actions/checkout@v3
- uses: montudor/action-zip@v1
with:
args: 'zip -r ./resources.zip . -i ./*/* -x ./.*/*'
- uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm i -D @altmp/upload-tool
- run: |
mkdir ./dist
mv ./resources.zip ./dist/
- run: npx alt-upload dist example-resources 1.0.0
env:
AWS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_BUCKET: ${{ secrets.AWS_BUCKET }}
AWS_ENDPOINT: ${{ secrets.AWS_ENDPOINT }}
CF_CACHE_PURGE_TOKEN: ${{ secrets.CF_CACHE_PURGE_TOKEN }}
CF_CACHE_ZONE_ID: ${{ secrets.CF_CACHE_ZONE_ID }}
CF_CACHE_PURGE_URL: ${{ secrets.CF_CACHE_PURGE_URL }}
VERSION: ${{ steps.version.outputs.VERSION }}