Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1fafb9d + ee454a8 commit c287addCopy full SHA for c287add
.github/workflows/pages.yml
@@ -0,0 +1,34 @@
1
+---
2
+name: Deploy static content to Pages
3
+
4
+on:
5
+ push:
6
+ branches: ["main"]
7
+ workflow_dispatch:
8
9
+permissions:
10
+ pages: write
11
+ id-token: write
12
13
+concurrency:
14
+ group: "pages"
15
+ cancel-in-progress: false
16
17
+jobs:
18
+ deploy:
19
+ environment:
20
+ name: github-pages
21
+ url: ${{ steps.deployment.outputs.page_url }}
22
+ runs-on: ubuntu-latest
23
+ steps:
24
+ - name: Setup Pages
25
+ run: |
26
+ mkdir pages
27
+ echo matplotlib.org > pages/CNAME
28
+ - name: Upload Pages artifact
29
+ uses: actions/upload-pages-artifact@v3
30
+ with:
31
+ path: 'pages'
32
+ - name: Deploy to GitHub Pages
33
+ id: deployment
34
+ uses: actions/deploy-pages@v4
0 commit comments