Skip to content

Commit

Permalink
gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
edigonzales committed Oct 13, 2024
1 parent c552307 commit cadf0df
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
on:
workflow_dispatch:
inputs:
gretlbranch:
description: 'GRETL Branch'
commit:
description: 'Commit SHA'
required: true
push:
branches: main
Expand All @@ -23,21 +23,22 @@ jobs:
with:
repository: sogis/gretl
path: gretl
ref: V3_0_doclet
#ref: V3_0_doclet
ref: a5caad39483ee10f9aae5492a5946ca83193b1b7

- name: Debug 1
working-directory: gretl
run: |
pwd
ls -la
- name: Get commit SHA from GRETL repo
working-directory: gretl
id: get_commit_sha
run: echo "COMMIT_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV
# - name: Get commit SHA from GRETL repo
# working-directory: gretl
# id: get_commit_sha
# run: echo "COMMIT_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV

- name: Display Commit SHA
run: echo "The current commit SHA is ${{ env.COMMIT_SHA }}"
# - name: Display Commit SHA
# run: echo "The current commit SHA is ${{ env.COMMIT_SHA }}"



Expand Down

0 comments on commit cadf0df

Please sign in to comment.