From e5396ae3aaecad5c9b240fc3a94bd8eb8779b235 Mon Sep 17 00:00:00 2001 From: Nick Krzemienski Date: Wed, 24 Jan 2024 18:00:39 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d0e9755..e785356 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,12 @@ on: - master env: GH_TOKEN: xxxxd4ef + PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }} + CUSTOM_DOMAIN: awesome.video + CONFIG_FILE: mkdocs.yml + EXTRA_PACKAGES: build-base + REQUIREMENTS: requirements.txt + GIT_DISCOVERY_ACROSS_FILESYSTEM: 1 jobs: awesomebot: runs-on: ubuntu-latest @@ -27,22 +33,11 @@ jobs: - name: run json validate run: json validate --schema-file=.github/schema.json --document-file=contents.json gen-awesome-video: - if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest - image: krzemienski/ruby-node-python:latest needs: - - awesomebot - - json-validate - env: - DOCKER_PASSWORD: - DOCKER_USERNAME: - GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }} - PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }} - CUSTOM_DOMAIN: awesome.video - CONFIG_FILE: mkdocs.yml - EXTRA_PACKAGES: build-base - REQUIREMENTS: requirements.txt - GIT_DISCOVERY_ACROSS_FILESYSTEM: 1 + - awesomebot + - json-validate + steps: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: @@ -55,7 +50,6 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.9 - steps: - uses: actions/checkout@v4 - name: run README.md gen run: ruby .github/convert.rb @@ -66,4 +60,4 @@ jobs: - name: run static site gen run: make site_build - name: Deploy docs - uses: mhausenblas/mkdocs-deploy-gh-pages@master \ No newline at end of file + uses: mhausenblas/mkdocs-deploy-gh-pages@master