Skip to content

Commit fc3f60c

Browse files
WEBDEV-7405 Fix deploys to main (#96)
* Adjust eslint config * Fix permissions for main deploy
1 parent e90e53d commit fc3f60c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/gh-pages-main.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# This workflow will run every time new changes were pushed to the `main` branch
44

55
name: App build CI/CD to main branch
6+
permissions:
7+
contents: write
68

79
on:
810
push:
@@ -36,4 +38,3 @@ jobs:
3638
clean-exclude: pr/
3739
force: false
3840
target-folder: main
39-
token: ${{ secrets.GH_TOKEN }}

eslint.config.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default [
4242
},
4343
},
4444
{
45-
ignores: ['**/*.js', '**/*.mjs'],
45+
ignores: ['**/*.js', '**/*.mjs', '**/*.d.ts'],
4646
},
4747
{
4848
files: ['**/*.test.ts'],

0 commit comments

Comments
 (0)