Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
#13 prevent workflows running twice
Browse files Browse the repository at this point in the history
+ some bugfixes
  • Loading branch information
chraebsli authored Feb 18, 2024
1 parent b9220ce commit e67b153
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [ push, pull_request ]

jobs:
lint:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -43,6 +44,7 @@ jobs:
}'
build:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Services/Service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default function Service() {
href={`/contact?service=${service.title}`}
rel={"canonical"}
variant="contained"
endIcon={<SendIcon color={"secondary"} />}
endIcon={<SendIcon color={"action"} />}
sx={{width: "20rem"}}>
{t("service.sendRequest")}
</Button>
Expand Down
1 change: 0 additions & 1 deletion src/styles/main.sass
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,3000,5001,300&display=swap")
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap')

@import "form"
Expand Down
8 changes: 0 additions & 8 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@
{
"key": "Referrer-Policy",
"value": "strict-origin-when-cross-origin"
},
{
"key": "Content-Security-Policy",
"value": "default-src 'self' https:; form-action 'self' script.google.com; script-src 'self' 'unsafe-inline' www.google-analytics.com vercel.live www.digistats.ch www.googletagmanager.com; img-src 'self' data:; font-src 'self' data: fonts.googleapis.com; style-src 'self' 'unsafe-inline' fonts.googleapis.com; connect-src 'self' vitals.vercel-insights.com *.google-analytics.com digistats.ch;"
},
{
"key": "Permissions-Policy",
"value": "battery=(), camera=(), geolocation=(), microphone=()"
}
]
}
Expand Down

0 comments on commit e67b153

Please sign in to comment.