Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed Mar 12, 2024
1 parent 9e76862 commit 5c8a74e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: check protected deployment

on:
push:
pull_request:

jobs:
tests:
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu-latest
if: ${{ github.repository == 'jngrad/pyMBE' }}
steps:
- name: Run docs
run: |
echo -e '<!DOCTYPE html>\n<html><head>\n<meta http-equiv="Content-type" content="text/html; charset=utf-8">\n</head>\n<body>test3\n</body>\n</html>' > index.html
shell: bash
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: .
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 5c8a74e

Please sign in to comment.