Skip to content

Commit 8d9eec0

Browse files
#27: auto publish to GitHub pages
2 parents a73f4c3 + f3d6d3c commit 8d9eec0

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish to Github Pages
2+
run-name: ${{github.actor}} is deploying to Github Pages
3+
on:
4+
push:
5+
branches:
6+
- main
7+
permissions:
8+
contents: write
9+
jobs:
10+
build-and-deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Install and Build
16+
run: |
17+
yarn
18+
yarn run predeploy
19+
- name: Deploy 🚀
20+
uses: JamesIves/github-pages-deploy-action@v4
21+
with:
22+
folder: build
23+
repository_name: https://github.com/CodeforLeipzig/leipzigmaps.git

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/node_modules
55
/.pnp
66
.pnp.js
7-
7+
.idea
88
# testing
99
/coverage
1010

src/components/OwnLocationMarker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { colors } from './MarkerToggles';
1212
const OwnLocationMarker = () => {
1313
var myIcon = L.divIcon({
1414
className: 'ownLocationMarker',
15-
iconSize: [20, 20],
15+
iconSize: [30, 20],
1616
html: renderToString(
1717
<div>
1818
<FontAwesomeIcon

0 commit comments

Comments
 (0)