Skip to content

Commit

Permalink
More cleanup and revert to deploy only on pushes to main.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCallow committed Jan 31, 2025
1 parent 8675d7e commit 7c780e6
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,12 @@ jobs:
name: Build KTX File Format and KTX Fragment URI specifications
runs-on: ubuntu-latest

# env:
# GIT_LFS_SKIP_SMUDGE: 1
# WERROR: ON

steps:
- uses: actions/checkout@v4

- name: Install Asciidoctor
run: sudo apt-get install -y asciidoctor

# - name: Force fetch provoking tag's annotation.
# # Work around https://github.com/actions/checkout/issues/290.
# if: github.ref_type == 'tag'
# run: git fetch -f origin ${{ github.ref }}:${{ github.ref }}

- name: Build specs
run: make ghpages

Expand Down Expand Up @@ -70,8 +61,7 @@ jobs:
# Add a dependency to the build job
needs: build-specs
# Only deploy when building `main`.
#if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/action-develop'
if: github.ref == 'refs/heads/main'

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
Expand Down

0 comments on commit 7c780e6

Please sign in to comment.