Skip to content

Commit

Permalink
Deployment workflow PS 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
seiwan committed Nov 19, 2024
1 parent d5e9397 commit e07bba0
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/push-to-bucket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,12 @@ on:
prestashop-version:
required: true
type: string
jobs:
current_date:
name: Get current date
runs-on: ubuntu-latest
if: inputs.triggered == true
outputs:
date: ${{ steps.date.outputs.date }}

steps:
- name: Date
id: date
run: echo "date=$(date -d '+2 hours' +'%Y-%m-%d_%H-%M-%S')" >> "$GITHUB_OUTPUT"

jobs:
push-to-bucket:
name: ${{ inputs.env-upper }} - Create zip file and push to GCP bucket storage
runs-on: ubuntu-latest
environment: ${{ inputs.env-lower }}
needs: [current_date]
permissions:
id-token: write
contents: read
Expand Down

0 comments on commit e07bba0

Please sign in to comment.