You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,33 @@ steps:
41
41
42
42
This works if you're only targeting chrome and edge for example.
43
43
44
+
### Safari
45
+
46
+
Safari deployment must be done in a macosx container. One way of doing so is by adding another step in the deployment pipeline which cache your artifact:
47
+
48
+
```yaml
49
+
build:
50
+
runs-on: ubuntu-latest
51
+
steps:
52
+
- uses: actions/checkout@v2
53
+
- run: your-setup-and-bundling-script
54
+
- uses: actions/upload-artifact@v2
55
+
with:
56
+
path: dist
57
+
safari:
58
+
runs-on: macos-latest
59
+
needs: build
60
+
steps:
61
+
- uses: actions/checkout@v2
62
+
- uses: actions/download-artifact@v2
63
+
with:
64
+
path: dist
65
+
- uses: maxim-lobanov/setup-xcode@v1
66
+
- run: yarn safari-pack
67
+
```
68
+
69
+
The above will generate a safari extension and upload it to the safari extension marketplace.
70
+
44
71
## Acknowledgements
45
72
46
73
- [web-ext-deploy](https://github.com/avi12/web-ext-deploy) by [avi12](https://github.com/avi12)
0 commit comments