Skip to content

Commit

Permalink
Merge pull request #832 from 0xPolygonID/add_generic_actions
Browse files Browse the repository at this point in the history
chore: add generic ga actions
  • Loading branch information
martinsaporiti authored Oct 25, 2024
2 parents c14369a + 44c13f4 commit f094e15
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 217 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create .env-api, .env-issuer and .env-ui files
- name: Create .env-issuer and .env-ui files
run: |
touch .env-api
touch .env-issuer
touch .env-ui
- name: Docker Compose
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@ name: Deploy Issuer Node Backend to Demo AWS Environment
on:
workflow_run:
workflows: ["Checks"]
branches: ["main"]
branches: ["main", "develop"]
types:
- completed

env:
AWS_ACCOUNT_ID: ${{ secrets.TEST_AWS_ACCOUNT_ID }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
ECR_REPOSITORY: issuer_node_backend_demo
ECR_REPOSITORY: ${{vars.ECR_REPOSITORY}}

jobs:
build-backend:
name: Build and push latest image to AWS Demo Environment
environment:
name: ${{ github.event.workflow_run.head_branch }}
name: build and push latest image to AWS Environment
permissions:
id-token: write
contents: write
Expand Down
80 changes: 0 additions & 80 deletions .github/workflows/deploy_backend_v2.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
name: Deploy Issuer Node UI to Demo AWS Environment
name: Deploy Issuer Node UI to AWS Environment

on:
push:
branches:
- main

env:
AWS_ACCOUNT_ID: ${{ secrets.TEST_AWS_ACCOUNT_ID }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
ECR_REPOSITORY: issuer_node_ui_demo
ECR_REPOSITORY: ${{vars.ECR_REPOSITORY_UI}}

jobs:
deploy:
environment:
name: ${{ github.ref_name }}
name: Build and Deploy UI to Demo AWS Environment
runs-on: ubuntu-latest
permissions:
Expand Down
67 changes: 0 additions & 67 deletions .github/workflows/test_deploy_backend.yml

This file was deleted.

61 changes: 0 additions & 61 deletions .github/workflows/test_deploy_ui.yml

This file was deleted.

0 comments on commit f094e15

Please sign in to comment.