Skip to content

Commit 215f645

Browse files
committed
environment cannot be placed there
1 parent 49ad73a commit 215f645

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,18 @@ jobs:
6464
retention-days: 2
6565

6666
- name: Output artifact ID
67-
environment:
68-
name: website
69-
url: 'https://contentmd.org'
7067
run: echo 'Artifact ID is ${{ steps.artifact-upload-step.outputs.artifact-id }}'
68+
69+
# Deployment job
70+
deploy:
71+
environment:
72+
name: website
73+
url: 'https://contentmd.org'
74+
runs-on: ubuntu-latest
75+
needs: build
76+
steps:
77+
- name: Deploy
78+
id: deployment
79+
# ${{ steps.deployment.outputs.page_url }}
80+
run: |
81+
ls -lah

0 commit comments

Comments
 (0)