Skip to content

Auto-skip: fix & remove hard-coded test hash (#3521) #74

Auto-skip: fix & remove hard-coded test hash (#3521)

Auto-skip: fix & remove hard-coded test hash (#3521) #74

name: update docs
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
main-to-docs:
name: merge (dry-run)
runs-on: "ubuntu-latest"
env:
FORCE_COLOR: 1
EARTHLY_TOKEN: "${{ secrets.EARTHLY_TOKEN }}"
EARTHLY_INSTALL_ID: "earthly-githubactions"
DOCKERHUB_MIRROR_USERNAME: "${{ secrets.DOCKERHUB_MIRROR_USERNAME }}"
DOCKERHUB_MIRROR_PASSWORD: "${{ secrets.DOCKERHUB_MIRROR_PASSWORD }}"
# Used in our github action as the token - TODO: look to change it into an input
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: earthly/actions-setup@main
- name: Execute merge
# currently this is just in dry-run mode Add --push to the earthly command
# to get it out of dry run mode
run: earthly --push --ci +merge-main-to-docs