Skip to content

Commit

Permalink
D01
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoRedondoo committed Jun 30, 2024
1 parent edf0224 commit d428382
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 10 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI / CD
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm install
- run: npm start &
- run: npm test

deploy:
needs: [test]
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v2

- id: 'auth'
uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.GCP_SA_KEY_JSON }}'

- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v1'

- name: 'Use gcloud CLI'
run: 'gcloud info'
10 changes: 0 additions & 10 deletions .github/workflows/ci.yaml

This file was deleted.

0 comments on commit d428382

Please sign in to comment.