Skip to content

Deploy vedtaksstotte_pa_CDN to dev by @Mathiamu #737

Deploy vedtaksstotte_pa_CDN to dev by @Mathiamu

Deploy vedtaksstotte_pa_CDN to dev by @Mathiamu #737

Workflow file for this run

name: Deploy to dev
run-name: Deploy ${{ github.ref_name }} to dev by @${{ github.actor }}
on:
workflow_dispatch: # This workflow can be triggered manually from: https://github.com/navikt/veilarbpersonflatefs/actions/workflows/deploy-dev.yaml
push:
branches:
- master
env:
CI: true
TZ: Europe/Amsterdam
jobs:
deploy-dev:
name: Deploy application to dev
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test
- name: Build application
run: npm run build
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.GCS_SA_KEY_DEV }}
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2
- name: Upload files to GCS
run: gsutil -m rsync -r build gs://poao-veilarbpersonflate-dev