@@ -48,22 +48,29 @@ inputs:
48
48
runs :
49
49
using : " composite"
50
50
steps :
51
- # - name: Set target
52
- # id: vars
53
- # run: echo "tag=${{ needs.docs_build.outputs.tag }}" >> $GITHUB_OUTPUT
54
- # - name:
55
- - name : upload dev
56
- if : |
57
- (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'dev') ||
58
- (github.event_name == 'push' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
59
- run : |
60
- # aws s3 sync --delete ./builtdocs s3://dev.holoviews.org/
61
- echo "DEV"
62
- ls ${{ inputs.path }}
63
- - name : upload main
64
- if : |
65
- (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||
66
- (github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
51
+ - shell : bash -e {0}
67
52
run : |
68
- echo "main"
69
- # aws s3 sync --delete ./builtdocs s3://holoviews.org/
53
+ echo "tag=${GITHUB_REF#refs/*/}"
54
+ # echo ${{ inputs.path }}
55
+ # ls ${{ inputs.path }}
56
+ # echo ${{ inputs.target }}
57
+ # echo ${{ inputs.tag }}
58
+ # - name:
59
+ # - name: Test
60
+ # id: vars
61
+ # - name: upload dev
62
+ # shell: bash -e {0}
63
+ # if: |
64
+ # (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'dev') ||
65
+ # (github.event_name == 'push' && (contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
66
+ # run: |
67
+ # # aws s3 sync --delete ./builtdocs s3://dev.holoviews.org/
68
+ # echo "DEV"
69
+ # - name: upload main
70
+ # shell: bash -e {0}
71
+ # if: |
72
+ # (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'main') ||
73
+ # (github.event_name == 'push' && !(contains(steps.vars.outputs.tag, 'a') || contains(steps.vars.outputs.tag, 'b') || contains(steps.vars.outputs.tag, 'rc')))
74
+ # run: |
75
+ # echo "main"
76
+ # # aws s3 sync --delete ./builtdocs s3://holoviews.org/
0 commit comments