Skip to content

Commit

Permalink
fix token
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy committed Feb 22, 2024
1 parent 16de3ec commit 7bed804
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/refresh-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
fetch-depth: 0
token: ${{ secrets.METRICMINER_GITHUB_PAT }}

# Use the yaml-env-action action.
- name: Load environment from YAML
uses: doughepi/[email protected]
with:
Expand All @@ -39,22 +38,17 @@ jobs:
outputs:
rendering_docker_image: "${{ env.RENDERING_DOCKER_IMAGE }}"

# This workflow contains a single job called "build-all"
render-main:
needs: yaml-check
runs-on: ubuntu-latest
container:
image: ${{needs.yaml-check.outputs.rendering_docker_image}}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout
uses: actions/checkout@v4
with:
# get the full repo
fetch-depth: 0
# use github PAT
token: ${{ secrets.METRICMINER_GITHUB }}
token: ${{ secrets.METRICMINER_GITHUB_PAT }}

# We want a fresh run of the renders each time - so first delete old html files
- name: Delete old *.html
Expand Down

0 comments on commit 7bed804

Please sign in to comment.