Merge pull request #3 from discretizer/feature/fork_automation
Fix fork automation
This commit is contained in:
commit
30e82e67d8
5
.github/workflows/docker-publish.yml
vendored
5
.github/workflows/docker-publish.yml
vendored
@ -77,8 +77,8 @@ jobs:
|
|||||||
# This step is being disabled because the runner is on a self-hosted machine
|
# This step is being disabled because the runner is on a self-hosted machine
|
||||||
# where the cache will stick between runs.
|
# where the cache will stick between runs.
|
||||||
- name: Cache Docker layers
|
- name: Cache Docker layers
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /tmp/.buildx-cache
|
path: /tmp/.buildx-cache
|
||||||
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
@ -123,4 +123,3 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
|
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
|
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
|
||||||
|
|
||||||
|
|||||||
10
.github/workflows/fork-sync.yml
vendored
10
.github/workflows/fork-sync.yml
vendored
@ -4,9 +4,9 @@ on:
|
|||||||
- cron: '2 */12 * * *'
|
- cron: '2 */12 * * *'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
synchronize-upstream:
|
synchronize-upstream:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- run: gh repo sync discretizer/homepage
|
- run: gh repo sync discretizer/homepage
|
||||||
env:
|
env:
|
||||||
GH_TOKEN ${{ secres.GITHUB_ENV }}
|
GH_TOKEN: ${{ secrets.GITHUB_ENV }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user