Skip to content

Commit

Permalink
Add sync browser-desktop workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kierandrewett committed Dec 27, 2023
1 parent 29768b4 commit 6d3acfd
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/sync-dot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Synchronise browser-desktop"

on:
pull_request:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}
fetch-depth: 0

- name: Checkout desktop repo
uses: actions/checkout@v4
with:
repository: dothq/browser-desktop
path: dot

- name: Initialise mach
working-directory: ./dot
run: |
./scripts/install_mach_commands.py
- name: Bump the revision file
working-directory: ./dot
run: |
echo "${{ github.server_url }}/${{ github.repository }}.git ${{ github.sha }} ${{ github.base_ref }}" > REVISION
- name: Synchronise repositories
working-directory: ./dot
run: |
./mach sync

0 comments on commit 6d3acfd

Please sign in to comment.