Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
fix: resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Agrim Jain authored and Agrim Jain committed Apr 30, 2024
2 parents 01ad68d + 6726235 commit 2a8af2d
Show file tree
Hide file tree
Showing 192 changed files with 14,686 additions and 21,794 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
# - run: npm run format
# - run: npm run test
- run: npm run build
- uses: olegtarasov/get-tag@v2.1
- uses: olegtarasov/get-tag@53af8e1e538a0ffab949cdde3e332d8e58e8630f
id: tagName
# For using same tag for staging and production we need to uncomment these two below lines:
# with:
Expand All @@ -70,7 +70,7 @@ jobs:
run: echo "New beta website - https://beta.deriv.com"

- name: Slack Notification 📣
uses: 8398a7/action-slack@v3
uses: 8398a7/action-slack@21dc5d142b92115d9c154540e48df504ad4e9cf9
with:
status: ${{ job.status }}
fields: workflow,repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/corewebvitals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- Cumulative Layout Shift: ${{ steps.results.outputs.cls }}
- name: Slack Notification 📣
uses: 8398a7/action-slack@v3
uses: 8398a7/action-slack@21dc5d142b92115d9c154540e48df504ad4e9cf9
if: ${{ failure() }}
with:
status: custom
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/generate-preview-link-eu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
build_eu_to_cloudflare_pages:
runs-on: Ubuntu-latest
permissions:
checks: write
pull-requests: write
checks: write
pull-requests: write
steps:
- name: Verify user
uses: 'deriv-com/shared-actions/.github/actions/verify_user_in_organization@v1'
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
sites/eu/.cache
sites/eu/public
- name: Install Dependencies
uses: "./.github/actions/npm_install_from_cache"
uses: './.github/actions/npm_install_from_cache'

- name: Build project
id: build-project
Expand All @@ -84,17 +84,18 @@ jobs:
GATSBY_DATABASE_URL: ${{ secrets.GATSBY_DATABASE_URL }}

run: npm run build:eu

- name: Retrieve PR information
env:
EVENT_NUMBER: ${{ github.event.number }}
EVENT_USERNAME: ${{ github.event.pull_request.user.login }}
HEAD_REF: ${{ github.head_ref }}
DRAFT: ${{ github.event.pull_request.draft }}
run: |
mkdir -p .pr
echo "$EVENT_NUMBER" > .pr/NR
echo "$EVENT_USERNAME" > .pr/USERNAME
echo "$HEAD_REF" > .pr/BRANCHNAME
echo "$DRAFT" > .pr/DRAFT
- name: Publish to Cloudflare Pages
id: publish-to-pages
env:
Expand Down Expand Up @@ -167,4 +168,4 @@ jobs:
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2
with:
name: 'pr-${{github.run_id}}'
path: .pr
path: .pr
9 changes: 5 additions & 4 deletions .github/workflows/generate-preview-link-row.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
build_row_to_cloudflare_pages:
runs-on: Ubuntu-latest
permissions:
checks: write
pull-requests: write
checks: write
pull-requests: write
steps:
- name: Verify user
uses: 'deriv-com/shared-actions/.github/actions/verify_user_in_organization@v1'
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
sites/row/public
- name: Install Dependencies
uses: "./.github/actions/npm_install_from_cache"
uses: './.github/actions/npm_install_from_cache'

- name: Build project
id: build-project
Expand All @@ -92,12 +92,13 @@ jobs:
EVENT_NUMBER: ${{ github.event.number }}
EVENT_USERNAME: ${{ github.event.pull_request.user.login }}
HEAD_REF: ${{ github.head_ref }}
DRAFT: ${{ github.event.pull_request.draft }}
run: |
mkdir -p .pr
echo "$EVENT_NUMBER" > .pr/NR
echo "$EVENT_USERNAME" > .pr/USERNAME
echo "$HEAD_REF" > .pr/BRANCHNAME
echo "$DRAFT" > .pr/DRAFT
- name: Publish to Cloudflare Pages
id: publish-to-pages
env:
Expand Down
183 changes: 0 additions & 183 deletions .github/workflows/generate-preview-link.yml

This file was deleted.

Loading

0 comments on commit 2a8af2d

Please sign in to comment.