Skip to content

Commit

Permalink
remove excess ci
Browse files Browse the repository at this point in the history
  • Loading branch information
johndietz committed Aug 26, 2024
1 parent af7a6f0 commit ab53ca1
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
push:
branches:
- main
- ci24 # todo: hotwired, do not merge

Check warning on line 13 in .github/workflows/publish.yml

View workflow job for this annotation

GitHub Actions / yaml-check

13:14 [comments] too few spaces before comment
paths-ignore:
- '.github/**'
- '.tools/**'
Expand Down Expand Up @@ -45,14 +46,6 @@ jobs:
- name: Inject slug/short variables
uses: rlespinasse/[email protected]

# No matter how we try ski ci options from GitHub it doesn't work
- name: Temporarily disable docs branch protections
uses: benjefferies/[email protected]
with:
access_token: ${{ secrets.DOCS_PERMISSIONS_TOKEN }}
branch: ${{ github.event.repository.default_branch }}
enforce_admins: false

# todo need to look repositoryGitURL, this needs to be overrideable from here and respected on the template side for both repositories
- name: Deploy docs on production
run: |
Expand All @@ -68,11 +61,3 @@ jobs:
-p shortSha="${GITHUB_SHA_SHORT}" \
-p gitopsDestinationFile="registry/environments/production/kubefirst-docs.yaml" \
--wait --log
- name: Enable back docs branch protection
uses: benjefferies/[email protected]
if: always() # Force to always run this step to ensure the protection is always turned back on no matter if previous step fail
with:
access_token: ${{ secrets.DOCS_PERMISSIONS_TOKEN }}
branch: ${{ github.event.repository.default_branch }}
enforce_admins: true

0 comments on commit ab53ca1

Please sign in to comment.