From 25007cca8d5241ecb1fbd39c55ebc3f1d7cbe7f5 Mon Sep 17 00:00:00 2001 From: Daljit Singh Date: Wed, 24 Feb 2021 16:39:35 +1300 Subject: [PATCH] Sort the pipeline steps. Co-authored-by: jmhbnz --- .github/workflows/blank.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 8b5936a..41d7ab7 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -22,7 +22,17 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - # gitlab secrets variables + - uses: actions/checkout@v2 + + - name: Install utilities + run: ./1-install-utilities.sh + + - name: Configuregcp project + run: ./2-configure-gcp-project.sh + + - name: Create github secrets + run: ./3-create-github-secrets.sh + - name: Login uses: GoogleCloudPlatform/github-actions/setup-gcloud@master with: @@ -30,19 +40,9 @@ jobs: service_account_email: ${{ secrets.GCP_EMAIL }} service_account_key: ${{ secrets.GCP_CREDENTIALS }} - #Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - # Runs a single command using the runners shell - #- name: Run a one-line script - # run: ls -la && ./1-install-utilities.sh - # Runs a set of commands using the runners shell - name: Run a multi-line script run: | - ./1-install-utilities.sh - ./2-configure-gcp-project.sh - ./3-create-github-secrets.sh ./4-create-virtual-machine.sh ./5-install-docker.sh ./6-install-gitlab-via-composer.sh