Skip to content

Automated commit to keep GitHub Actions active #88

Automated commit to keep GitHub Actions active

Automated commit to keep GitHub Actions active #88

Workflow file for this run

name: Tagged Build
on:
push:
tags:
- "*"
permissions:
id-token: write
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
environment: blob-storage
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"
# Lets us use one-liner JSON manipulations on package.jsons
- run: "npm install -g json"
- name: Setup Monaco Editor
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
FULL_TAG_REF: ${{ github.ref }}
run: "node ./publish-monaco-editor.js $(echo $FULL_TAG_REF | cut -d/ -f3)"
- name: 'Az CLI login'
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Upload to Azure
env:
AZURE_STORAGE_ACCOUNT: ${{ secrets.AZURE_STORAGE_ACCOUNT }}
run: node ./upload-assets-to-blob-storage.js