Skip to content

Commit c9e0f20

Browse files
authored
Update jekyll-gh-pages.yml
1 parent 1cc6635 commit c9e0f20

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

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

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,20 @@
1-
# Simple workflow for deploying static content to GitHub Pages
21
name: Deploy static content to Pages
32

43
on:
5-
# Runs on pushes targeting the default branch
64
push:
75
branches: ['main']
8-
9-
# Allows you to run this workflow manually from the Actions tab
106
workflow_dispatch:
117

12-
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
138
permissions:
149
contents: read
1510
pages: write
1611
id-token: write
1712

18-
# Allow one concurrent deployment
1913
concurrency:
2014
group: 'pages'
2115
cancel-in-progress: true
2216

2317
jobs:
24-
# Single deploy job since we're just deploying
2518
deploy:
2619
environment:
2720
name: github-pages
@@ -30,10 +23,10 @@ jobs:
3023
steps:
3124
- name: Checkout
3225
uses: actions/checkout@v4
33-
- name: Set up Node
26+
- name: Set up Node.js
3427
uses: actions/setup-node@v3
3528
with:
36-
node-version: 18
29+
node-version: 20
3730
cache: 'npm'
3831
- name: Install dependencies
3932
run: npm install
@@ -44,12 +37,7 @@ jobs:
4437
- name: Upload artifact
4538
uses: actions/upload-pages-artifact@v2
4639
with:
47-
# Upload dist repository
4840
path: './dist'
4941
- name: Deploy to GitHub Pages
5042
id: deployment
5143
uses: actions/deploy-pages@v2
52-
53-
- name: Configurar entorno
54-
run: |
55-
echo "VITE_GOOGLE_MAPS_API_KEY=${{ secrets.VITE_GOOGLE_MAPS_API_KEY }}" >> .env.production

0 commit comments

Comments
 (0)