app things: bug: never returns today, make when+list required return … #1092
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: Azure Publish (dev) | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
publish-dev: | |
if: github.event_name == 'push' | |
runs-on: ubuntu-latest | |
environment: | |
name: dev | |
url: https://${{ vars.AZ_ACCOUNT }}.blob.core.windows.net/${{ vars.AZ_CONTAINER }}/${{ vars.PACKAGE }}.zip | |
name: Build/Publish (dev) | |
steps: | |
- name: Checkout | |
id: checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
lfs: false | |
- name: Install Node v20 | |
id: node | |
uses: actions/setup-node@v4 | |
with: { node-version: 20 } | |
- name: Install Dependencies | |
id: ci | |
run: npm ci | |
- name: Build/Pack Distro | |
id: buildpack | |
run: npm run action | |
- name: Zip Distro | |
id: zip | |
run: | | |
zip -r ${{ vars.PACKAGE }}.zip ${{ vars.PACKAGE }} | |
- name: Publish to Azure | |
id: publish | |
uses: Azure/cli@v2 | |
with: | |
azcliversion: 2.61.0 | |
inlineScript: | | |
az storage blob upload -c ${{ vars.AZ_CONTAINER }} -f ${{ vars.PACKAGE }}.zip -n ${{ vars.PACKAGE }}.zip --overwrite true --account-name ${{ vars.AZ_ACCOUNT }} --sas-token '${{ secrets.AZ_CONTAINER_SAS_TOKEN }}' |