Skip to content

Commit

Permalink
#27: auto publish to GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
joergreichert authored Nov 15, 2024
2 parents a73f4c3 + f3d6d3c commit 8d9eec0
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/publish-to-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish to Github Pages
run-name: ${{github.actor}} is deploying to Github Pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install and Build
run: |
yarn
yarn run predeploy
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: build
repository_name: https://github.com/CodeforLeipzig/leipzigmaps.git
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/node_modules
/.pnp
.pnp.js

.idea
# testing
/coverage

Expand Down
2 changes: 1 addition & 1 deletion src/components/OwnLocationMarker.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { colors } from './MarkerToggles';
const OwnLocationMarker = () => {
var myIcon = L.divIcon({
className: 'ownLocationMarker',
iconSize: [20, 20],
iconSize: [30, 20],
html: renderToString(
<div>
<FontAwesomeIcon
Expand Down

0 comments on commit 8d9eec0

Please sign in to comment.