Skip to content

Commit bb607c1

Browse files
committed
Change env variable
1 parent 196b3f8 commit bb607c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/oracle-db-statistics.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150

151151
- name: Start Ansible Gather Delius Statistics
152152
env:
153-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
153+
GITHUB_TOKEN: ${{ secrets.TOKEN }}
154154
shell: bash
155155
run: |
156156
export ANSIBLE_CONFIG=$ansible_config

playbooks/oracle_statistics/oracle_statistics/tasks/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
- name: Test
44
shell: |
5-
echo ${GH_TOKEN} | gh auth login --with-token
5+
gh auth login --with-token
66
gh workflow run oracle-db-statistics.yml --ref DBA-651 -f TargetEnvironment=delius-core-dev
77
environment:
8-
GH_TOKEN: "'{{ lookup('ansible.builtin.env', 'GH_TOKEN') }}'"
8+
GITHUB_TOKEN: "'{{ lookup('ansible.builtin.env', 'GITHUB_TOKEN') }}'"
99
register: start_statistics_export
1010
delegate_to: localhost
1111
become: no

0 commit comments

Comments
 (0)