Skip to content

Commit f3d6d3c

Browse files
committed
adjusted github action for deployment on original repository
1 parent 26905e6 commit f3d6d3c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish-to-gh-pages.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Publish to Github Pages
22
run-name: ${{github.actor}} is deploying to Github Pages
3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- main
47
permissions:
58
contents: write
69
jobs:
@@ -17,3 +20,4 @@ jobs:
1720
uses: JamesIves/github-pages-deploy-action@v4
1821
with:
1922
folder: build
23+
repository_name: https://github.com/CodeforLeipzig/leipzigmaps.git

0 commit comments

Comments
 (0)