Fix stretched example window (#93) #237
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger site rebuild | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'skip-ci')" | |
steps: [ | |
{ name: 'Checkout', uses: actions/checkout@v4, with: { fetch-depth: 1 } }, | |
{ name: 'Install Python', uses: actions/setup-python@v4, with: { python-version: 3.10.5, architecture: x64 } }, | |
{ | |
name: 'Create archives', | |
run: 'python create_archives.py' | |
}, | |
{ | |
name: "Create tag", | |
run: 'git tag v${{ github.sha }}' | |
}, | |
{ | |
name: "Push to tag", | |
run: 'git push origin v${{ github.sha }}' | |
}, | |
{ | |
name: 'Release', | |
uses: softprops/action-gh-release@v2, | |
with: { files: "*.zip", make_latest: true, tag_name: 'v${{ github.sha }}' } | |
}, | |
{ | |
name: 'Repository dispatch', | |
uses: defold/[email protected], | |
with: { | |
repo: 'defold/defold.github.io', | |
token: '${{ secrets.SERVICES_GITHUB_TOKEN }}', | |
user: '[email protected]', | |
action: 'examples' | |
} | |
} | |
] |