Skip to content

Bump word-wrap from 1.2.3 to 1.2.4 in /frontendloggerjs #154

Bump word-wrap from 1.2.3 to 1.2.4 in /frontendloggerjs

Bump word-wrap from 1.2.3 to 1.2.4 in /frontendloggerjs #154

Workflow file for this run

name: Test, build, push and deploy
on: [push]
env:
IMAGE: docker.pkg.github.com/${{ github.repository }}/frontendlogger:${{ github.sha }}
TZ: Europe/Amsterdam
jobs:
build:
name: CI/CD pipeline
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build and push docker image
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo ${GITHUB_TOKEN} | docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY} --password-stdin
docker build --tag ${IMAGE} .
docker push ${IMAGE}
deploy-dev-fss:
if: github.ref == 'refs/heads/dev'
needs: build
runs-on: ubuntu-latest
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
PRINT_PAYLOAD: true
steps:
- uses: actions/checkout@v1
- name: Deploy application to dev fss
uses: nais/deploy/actions/deploy@v1
if: github.ref == 'refs/heads/dev'
env:
CLUSTER: dev-fss
RESOURCE: nais-q-fss.yaml
VAR: version=${{ github.sha }}
deploy-prod-fss:
if: github.ref == 'refs/heads/master'
needs: build
runs-on: ubuntu-latest
env:
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
PRINT_PAYLOAD: true
steps:
- uses: actions/checkout@v1
- name: Deploy application to prod fss
uses: nais/deploy/actions/deploy@v1
env:
CLUSTER: prod-fss
RESOURCE: nais-fss.yaml
VAR: version=${{ github.sha }}