Skip to content

Commit

Permalink
remove backup step and add satelittes #2672
Browse files Browse the repository at this point in the history
  • Loading branch information
millianapia committed Jan 2, 2025
1 parent 8bad6d8 commit 3b20dd2
Showing 1 changed file with 37 additions and 15 deletions.
52 changes: 37 additions & 15 deletions .github/workflows/PROD-all-webs-and-studios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,6 @@ jobs:
id: get-token
uses: ./.github/workflows/get-auth-token/

- name: Deploy to Radix backup πŸš€
id: deploy-backup
uses: equinor/radix-github-actions@master
with:
args: >
create job
deploy
--token-environment
--context production
-a equinor-web-sites
-e ${{ secrets.ENV }}
-f
- name: Deploy to Radix πŸš€
id: deploy-main
uses: equinor/radix-github-actions@master
Expand Down Expand Up @@ -172,8 +159,43 @@ jobs:
steps: ${{ toJson(steps) }}
if: failure()

deploy-satellite-studios:
needs: deploy-studios
runs-on: ubuntu-latest
environment:
name: production
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
DOCKER_BUILDKIT: 1
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3

- name: Get token πŸ”‘
id: get-token
uses: ./.github/workflows/get-auth-token/

- name: Deploy to Radix πŸš€
id: deploy
uses: equinor/radix-github-actions@master
with:
args: >
create job
deploy
--token-environment
--context platform2
-a equinor-web-sites
-e ${{ secrets.ENV }}
-f
- uses: act10ns/slack@v2
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
if: failure()

store-image-tags:
needs: [deploy-webs, deploy-studios]
needs: [deploy-webs, deploy-satellite-studios]
runs-on: ubuntu-latest
steps:
- name: Checkout internal πŸ›ŽοΈ
Expand Down Expand Up @@ -201,4 +223,4 @@ jobs:
git remote set-url origin https://x-access-token:${{ secrets.PADMS_PAT }}@github.com/equinor/energyvision-internal
git add latest-prod-tags.json
git commit -m "Update latest-prod-tags.json with new tags" || echo "No changes to commit"
git push
git push

0 comments on commit 3b20dd2

Please sign in to comment.